package com.yyds.service.impl;

import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.yyds.common.MyJSON;
import com.yyds.mapper.PersonResidentMapper;
import com.yyds.mapper.PersonResidentVoMapper;
import com.yyds.pojo.PersonResident;
import com.yyds.service.PersonResidentService;
import com.yyds.service.PersonResidentVoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author wxh
 * @date 2022/10/14 08:46:24
 * @desc
 **/
@Service("personResidentVoService")
public class PersonResidentVoServiceImpl implements PersonResidentVoService {

    @Autowired
    @Qualifier("personResidentVoMapper")
    private PersonResidentVoMapper personResidentVoMapper;


    @Override
    public List<String> queryResidentNameService() {
        return personResidentVoMapper.queryResidentNameMapper();
    }

    @Override
    public Integer queryVaccineIdService(String resident_name) {
        return personResidentVoMapper.queryVaccineIdMapper(resident_name);
    }
}
